<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'ChooseContract.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<script type="text/javascript">
	function next(control)
	{
		if(control=="1")
			location.href="/DepartmentManage/Insert_BuyingContract.jsp?value="+control+""
		else {
			location.href="/DepartmentManage/Insert_HiringContract.jsp?value="+control+""
		}
	}
</script>
  </head>
  
  <body>
     			<table align="center" border="1px" cellpadding="0" cellspacing="0"
				style="width: 780px; border-color: #3399FF">
				<tr>
					<td colspan="2"><jsp:include page="Header.jsp"></jsp:include>
					</td>
				</tr>
				<tr>
					<td style="width: 245px" nowrap="nowrap" valign="top">&nbsp;<jsp:include page="Left.jsp"></jsp:include>
					</td>
					<td style="width: 75%" valign="top">

   					 <hr width="100%"/>
   
   						<table>
   							<tr>
   								<td>
   									<select name="cbocontract" style="width:100px">
   										<option value="1">Buy</option>
   										<option value="2">Hire</option>
   									</select>
   								</td>
   								<td>
   									<input type="button" name="bntnext" value="Next" onclick="javascript:next(cbocontract.value)">
   								</td>
   							</tr>
   						</table>

					</td>
				</tr>
			</table>
  </body>
</html>
